package com.ynb.lighterbuffer;

public class DoubleSchema implements ISchema<Double>{
	@Override
	public void serialize(Double o,BinaryWriter writer) throws Exception{
		writer.writeDouble(o);
	}
	@Override
	public Double deSerialize(Class<Double> type,BinaryReader reader) throws Exception{
		return reader.readDouble();
	}
}
